﻿
<div ng-controller="CompanyController">
    <div class="CompanyEdit clearfix">
        <h3 class="mb20">Company Edit</h3>
        <dl class="clearfix">
            <dt>
                {{texts['lb-company-name']}}
            </dt>
            <dd>
                <div class="form-group">
                    <input type="text" name="companyName" ng-model="company.Name" validator="[required, requiredBlur]" />
                </div>
            </dd>
        </dl>
        <dl class="clearfix">
            <dt>
                {{texts['lb-phone']}}
            </dt>
            <dd>
                <div class="form-group">
                    <input type="tel" name="phone" ng-model="company.Phone" validator="[required, requiredBlur]" />
                </div>
            </dd>
        </dl>
        <dl class="clearfix">
            <dt>
                {{texts['lb-fax']}}
            </dt>
            <dd>
                <div class="form-group">
                    <input type="text" name="fax" ng-model="company.Fax" validator="[required, requiredBlur]" />
                </div>
            </dd>
        </dl>
        <dl class="clearfix">
            <dt>
                {{texts['lb-post-code']}}
            </dt>
            <dd>
                <div class="form-group">
                    <input type="text" name="postCode" ng-model="company.PostCode" validator="[required, requiredBlur]" />
                </div>
            </dd>
        </dl>
        <dl class="clearfix">
            <dt>
                {{texts['lb-state']}}
            </dt>
            <dd>
                <div class="form-group">
                    <input type="text" name="district" ng-model="company.District" validator="[required, requiredBlur]" />
                </div>
            </dd>
        </dl>
        <dl class="clearfix">
            <dt>
                {{texts['lb-city']}}
            </dt>
            <dd>
                <div class="form-group">
                    <input type="text" name="city" ng-model="company.City" validator="[required, requiredBlur]" />
                </div>
            </dd>
        </dl>
        <dl class="clearfix">
            <dt>
                {{texts['lb-address']}}
            </dt>
            <dd>
                <div class="form-group">
                    <input type="text" name="address" ng-model="company.Address" validator="[required, requiredBlur]" />
                </div>
            </dd>
        </dl>
        <dl class="clearfix">
            <dt>
                {{texts['lb-building-name']}}
            </dt>
            <dd>
                <div class="form-group">
                    <input type="text" name="buildingName" ng-model="company.BuildingName" validator="[required, requiredBlur]" />
                </div>
            </dd>
        </dl>
    </div>
    <div class="center clearfix">
        <button class="w110" ng-click="save()">{{texts['btn-save']}}</button>
    </div>
     <div id="popup-wrapper"></div>
     <div class="popup-delete-save popupEffer clearfix" >
        <p class="popup-titleDelete">{{title}}</p>
        <ul class="popup-listBtn clearfix">
            <li><a ng-click="action()">Yes</a></li>
            <li><a class="b-close">No</a></li>
        </ul>
     </div>   
</div>
